package com.kys.application.dubboInterfaceImp;

import com.alibaba.dubbo.config.annotation.Service;
import com.kys.dubboInterface.TestInterface;
import com.kys.dubboModule.TestModule;
import org.springframework.stereotype.Component;

@Component
@Service
public class TestInterfaceImp implements TestInterface {
    @Override
    public TestModule getTestModule(String name, String age) {
        System.out.println(name+age);
        return new TestModule(name,age);
    }
}
